#{extends 'main.html'/}
#{set "用户"/}

<table id="users-table" class="table table-striped table-bordered" cellspacing="0" width="100%">
    <thead>
        <tr>
            <th>手机号码</th>
            <th>昵称</th>
        </tr>
    </thead>
    <tbody>
        #{list users, as: 'user'}
        <tr>
            <td>${user.mobile}</td>
            <td>${user.nickname}</td>
        </tr>
        #{/list}
    </tbody>
</table>

#{set 'moreScripts'}
<script>
    $(document).ready(function () {
        //$('#users-table').DataTable();
    });

</script>
#{/set}